package cn.edu.xust.Ro;


import cn.edu.xust.entity.DeviceEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class MqttOTARo {

    private DeviceEntity cdevice;
    boolean isBestNew;
    String bestNewVersion;
    String otaUrl;
    String newip = "cos.ap-guangzhou.myqcloud.com";
    String target = "xzota";
    String forceUpdate;
    String topic;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    Date cdate=new Date();


}

